# 右对齐
result = ''
for i in range(1,10):
    result=result+'*'
    print(result.rjust(10,' '))


#正三角形
result = ''
for i in range(1,6):
    result=result+'* '
    print(result.center(10,' '))